$wixFile = $args[0] 

$wix = get-content $wixFile
foreach( $node in $Settings.PackageSettings.Msi.get_ChildNodes() ) 
{
	$tag = $node.get_LocalName();
	$wix = $wix -replace "%$tag%", $node.get_InnerText();		
}

$wix | set-content $wixFile